package com.smarthealthcare.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 预约对象 register
 * 
 * @author ruoyi
 * @date 2024-11-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Register extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 登记状态 */
    @Excel(name = "登记状态")
    private String registStatus;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registTime;

    /** 就诊卡号 */
    @Excel(name = "就诊卡号")
    private String clinicCard;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    private String identityCard;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 民族 */
    private String nation;

    /** 联系地址 */
    private String address;

    /** 门诊编号 */
    private String outpatientId;

    /** 现病史历 */
    private String medicalhistory;

    /** 住院编号 */
    private String admissionId;

    /** 医保性质 */
    private String nature;

    /** 医保卡号 */
    private Long cardnumber;

    /** 是否作废 */
    @Excel(name = "是否作废")
    private String isCancel;

    /** 挂号诊费 */
    @Excel(name = "挂号诊费")
    private Long medicalFee;

    /** 预约渠道 */
    @Excel(name = "预约渠道")
    private String appointmentWay;

    /** 预约科室 */
    @Excel(name = "预约科室")
    private Long departmentId;

    /** 预约医生 */
    @Excel(name = "预约医生")
    private Long doctorId;

    /** 逻辑删除 */
    private Long del;

    /** 科室信息 */
    private Department department;

    private Doctor doctor;

}
